// pages/history/history.js
Page({
  data: {
    historyList: [{
      id:1,
      time: '2017-10-22 18:33',
      completed: true,
      state: '已完成'
    }, {
      id: 2,
      time: '2017-10-22 18:33',
      completed: false,
      state: '待支付'
    }, {
      id: 3,
      time: '2017-10-22 18:33',
      completed: true,
      state: '已完成'
    }, {
      id: 4,
      time: '2017-10-22 18:33',
      completed: true,
      state: '已完成'
    }, {
      id: 5,
      time: '2017-10-22 18:33',
      completed: true,
      state: '已完成'
    }]
  },
  setUpUser: function(e) {
    wx.navigateTo({
      url: '../form/form',
    })
  }
})